package com.ruoyi.project.inventory.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 物品信息对象 ry_inventory
 *
 * @author you
 * @date 2022-09-05
 */
public class RyInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    @Excel(name = "物品首字母")
    private String firstLetter;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    private String label;

    /** wbs编码 */
    @Excel(name = "wbs编码")
    private String wbs;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 图片 */
    @Excel(name = "图片")
    private String images;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 单价(元) */
    @Excel(name = "单价(元)")
    private BigDecimal unitPrice;

    /** 供应商id */
    private String supplyId;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supply;

    /** 库位 */
    @Excel(name = "库位")
    private String location;

    /** 操作人/经办人 */
    @Excel(name = "操作人/经办人")
    private String operator;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标记 */
    private String delFlag;

    /** 种类编码 */
    private String kindCode;

    /** 品类编码 */
    private String categoryCode;

    /** 项编码 */
    private String itemCode;

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getFirstLetter() {
        return firstLetter;
    }

    public void setFirstLetter(String firstLetter) {
        this.firstLetter = firstLetter;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSpecifications(String specifications)
    {
        this.specifications = specifications;
    }

    public String getSpecifications()
    {
        return specifications;
    }
    public void setWbs(String wbs)
    {
        this.wbs = wbs;
    }

    public String getWbs()
    {
        return wbs;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setImages(String images)
    {
        this.images = images;
    }

    public String getImages()
    {
        return images;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setUnitPrice(BigDecimal unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice()
    {
        return unitPrice;
    }
    public void setSupplyId(String supplyId)
    {
        this.supplyId = supplyId;
    }

    public String getSupplyId()
    {
        return supplyId;
    }
    public void setSupply(String supply)
    {
        this.supply = supply;
    }

    public String getSupply()
    {
        return supply;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setOperator(String operator)
    {
        this.operator = operator;
    }

    public String getOperator()
    {
        return operator;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setKindCode(String kindCode)
    {
        this.kindCode = kindCode;
    }

    public String getKindCode()
    {
        return kindCode;
    }
    public void setCategoryCode(String categoryCode)
    {
        this.categoryCode = categoryCode;
    }

    public String getCategoryCode()
    {
        return categoryCode;
    }
    public void setItemCode(String itemCode)
    {
        this.itemCode = itemCode;
    }

    public String getItemCode()
    {
        return itemCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("specifications", getSpecifications())
            .append("wbs", getWbs())
            .append("brand", getBrand())
            .append("images", getImages())
            .append("unit", getUnit())
            .append("unitPrice", getUnitPrice())
            .append("supplyId", getSupplyId())
            .append("supply", getSupply())
            .append("location", getLocation())
            .append("operator", getOperator())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("kindCode", getKindCode())
            .append("categoryCode", getCategoryCode())
            .append("itemCode", getItemCode())
                .append("firstLetter",getFirstLetter())
            .toString();
    }
}
